package com.macro.mall.dao;

import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import java.util.Map;

public interface WithdrawalApplyDao {
    BigDecimal getHasWithdrawalCommission(@Param("agentId") Long agentId, @Param("start")Date start, @Param("end")Date end);

    /**
     * 获取店铺已提现金额
     * @param storeId
     * @param status
     * @return
     */
    BigDecimal getStoreMx(@Param("storeId") Long storeId, @Param("status") Integer status, @Param("type")Integer type);
}
